package xyz.syyrjx.consumer.conf;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 大地崩坏苍蝇兽
 * @date 2023/1/12 - 19:48
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ConfigurationProperties("xyz.syyrjx.rpc.consumer")
public class SyyrjxRpcConsumerConfig {

    private String remoteHost = "localhost";

    private int remotePort;

    private String[] registryAddress = new String[0];

    private int maxReadSize = 30 * 1024;
}
